package com.common;

import javax.servlet.http.HttpServletRequest;

public class ContextUtils {
	public static String getContextPath(HttpServletRequest request) {
		return request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
				+ request.getContextPath();
	}
}
